﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.OleDb;
using Entities;
using System.Data;


namespace DataAccess
{
    public interface IDataAccess
    {
        List<string> CheckConnection(ConnectionInformation connectionInformation);

        List<string> GetTableList(ConnectionInformation connectionInformation);

        TableInformation GetTableInformation(ConnectionInformation connectionInformation, string tableName);

        List<string> GetViewList(ConnectionInformation connectionInformation);

        TableInformation GetViewInformation(ConnectionInformation connectionInformation, string viewName);

        TableInformation QueryValidation(ConnectionInformation connectionInformation, string queryString);

        void GetFullData(ConnectionInformation connectionInformation, ref TableInformation tableInformation);
    }
}